import request from '@/utils/request'
export function fetchList(params) {
    return request({
        url: '/memberLevel/list',
        method: 'get',
        params: params
    })
}
export function update(data) {
    return request({
        url: '/memberLevel/update',
        method: 'post',
        data: data
    })
}
export function create(data) {
    return request({
        url: '/memberLevel/create',
        method: 'post',
        data: data
    })
}
export function fetchFind(params) {
    return request({
        url: '/memberLevel/find',
        method: 'get',
        params: params
    })
}
export function del(id) {
    return request({
        url: '/memberLevel/del/' + id,
        method: 'get',
    })
}